package com.twohand.admin.Vo;

import com.github.pagehelper.PageInfo;
import com.twohand.admin.Entity.Menu;
import com.twohand.admin.Entity.Role;
import com.twohand.admin.Util.PageResponse;
import lombok.Data;

import java.util.List;

public class RolePageListVo extends PageResponse<Role> {
    List<Menu> menuList;
    public RolePageListVo(PageInfo pageInfo, List<Role> data, List<Menu> menuList) {
        super(pageInfo, data);
        this.menuList = menuList;
    }

    public List<Menu> getMenuList() {
        return menuList;
    }

    public void setMenuList(List<Menu> menuList) {
        this.menuList = menuList;
    }
}
